package com.util;

import my.mypool.core.memcache.DeletePolicy;

/**
 * Created by IntelliJ IDEA.
 * User: Administrator
 * Date: 2010-10-18
 * Time: 10:40:36
 * To change this template use File | Settings | File Templates.
 */
public class MyMemDeletePolicy implements DeletePolicy {
    public boolean isDeletable(String record, String deleteRecord) throws Exception {
        if(record.startsWith(deleteRecord+":")) return true;
        return false;
    }
}
